package com.liuxing.doctor.dto;

import com.liuxing.doctor.entity.MedicalRecord;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @author 行柳
 * 学习使用
 */
@XmlRootElement(name="medicalRecords")
public class MedicalRecords {
    private List<MedicalRecord> medicalRecordList;
    @XmlElement(name="medicalRecord")
    public List<MedicalRecord> getMedicalRecordList() {
        return medicalRecordList;
    }
    public void setMedicalRecordList(List<MedicalRecord> medicalRecordList) {
        this.medicalRecordList = medicalRecordList;
    }
}
